package com.ninjas.module.error.service;

import com.ninjas.module.error.domain.model.User;
import com.github.pagehelper.PageInfo;

public interface UserService {

    void registerUser(User user);

    boolean authenticateUser(String username, String password);

    boolean isUsernameAvailable(String username);

    PageInfo<User> list(int pageNum, int pageSize);

}
